package cn.wolfcode.mapper;

import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.query.SystemDictionaryItemQueryObject;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

@Mapper
public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);

    List<SystemDictionaryItem> selectForList(SystemDictionaryItemQueryObject qo);

    int selectMaxSequenceByParentId(Long parentId);

    List<SystemDictionaryItem> selectByParentId(long l);
}